Fix `cargo doc --open` on Windows
authorPatrick Reisert <kpreisert@gmail.com>
Fri, 10 Jun 2016 13:07:55 +0000 (15:07 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jun 2016 13:07:55 +0000 (15:07 +0200)
commitb9a4ef18c8b2ebadfad63e67137370cf3347a209
tree78cb9062f090e12e5de5e6374a005a199584935b
parentb5479d90e493edd7059bcd662cb8edc602034697
Fix `cargo doc --open` on Windows

This fixes #2446. Note that I have not built cargo with this change, but I have tested the functionality in isolation (on Windows 10).

As to the issue itself, I don't know why the previous version didn't work, but `start` is redundant when `cmd /C` is used.
src/cargo/ops/cargo_doc.rs